package com.zxcz.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;

/*
 * 设备
 */
public class Devices {
	private Integer id;
	private String mac;			//mac地址
	private String did;			//设备id
	private Date createdAt;
	private Date updatedAt;
	private Integer userId;		//内容商用户id
	private Integer wxUserId;	//微信公众号用户id
	private Integer appUserId;	//APP用户id
	private Integer wxState;
	private Integer wxMiniUserId;	//微信小程序用户id
	private int status;
	private User user;
	private AppUser appUser;
	private WxMiniUser wxMiniUser;
	private WxUser wxUser;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getMac() {
		return mac;
	}
	public void setMac(String mac) {
		this.mac = mac;
	}
	public String getDid() {
		return did;
	}
	public void setDid(String did) {
		this.did = did;
	}
	public Date getCreatedAt() {
		return createdAt;
	}
	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	public Date getUpdatedAt() {
		return updatedAt;
	}
	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getWxUserId() {
		return wxUserId;
	}
	public void setWxUserId(Integer wxUserId) {
		this.wxUserId = wxUserId;
	}
	public Integer getAppUserId() {
		return appUserId;
	}
	public void setAppUserId(Integer appUserId) {
		this.appUserId = appUserId;
	}
	public Integer getWxState() {
		return wxState;
	}
	public void setWxState(Integer wxState) {
		this.wxState = wxState;
	}
	public Integer getWxMiniUserId() {
		return wxMiniUserId;
	}
	public void setWxMiniUserId(Integer wxMiniUserId) {
		this.wxMiniUserId = wxMiniUserId;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public AppUser getAppUser() {
		return appUser;
	}
	public void setAppUser(AppUser appUser) {
		this.appUser = appUser;
	}
	public WxMiniUser getWxMiniUser() {
		return wxMiniUser;
	}
	public void setWxMiniUser(WxMiniUser wxMiniUser) {
		this.wxMiniUser = wxMiniUser;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public WxUser getWxUser() {
		return wxUser;
	}
	public void setWxUser(WxUser wxUser) {
		this.wxUser = wxUser;
	}
	@Override
	public String toString() {
		return "Devices [id=" + id + ", mac=" + mac + ", did=" + did + ", createdAt=" + createdAt + ", updatedAt="
				+ updatedAt + ", userId=" + userId + ", wxUserId=" + wxUserId + ", appUserId=" + appUserId
				+ ", wxState=" + wxState + ", wxMiniUserId=" + wxMiniUserId + ", status=" + status + ", user=" + user
				+ ", appUser=" + appUser + ", wxMiniUser=" + wxMiniUser + ", wxUser=" + wxUser + "]";
	}
	
}
